{OVERALL_HEADER}
<div id="column">
	{OVERALL_LEFT_MENU}
</div>
<div id="content">
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
		<tr>
		  <td>
		  <span class="header1">{LANG_HELLO}, {USERNAME} IF("{RATING}" != "0"){(<a href="reviews.php?id={USER_ID}&type=buyer"><img src="templates/{TPL_NAME}/images/rating_{RATING}.gif" border="0"></a>){:IF}</span>
		  </td>
		  <td align="right">
		  <span class="header1">{LANG_CURBALANCE}: {BALANCE}</span>
		  </td>
		</tr>
	</table>
	<br>
	<span class="title2">{LANG_PROJICREATED}</span><br>
	<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
		<tr >
			<th width="40%" height="30" nowrap="nowrap">
				<strong style="color:#666666;">{LANG_PROJNAME}</strong>
			</th>
			<th width="10%" height="30" nowrap="nowrap">
				<strong style="color:#666666;">{LANG_STATUS}</strong>
			</th>
			<th width="10%" height="30" nowrap="nowrap"><strong style="color:#666666;">{LANG_BIDS}</strong></th>
			<th height="40%" nowrap="nowrap"><strong style="color:#666666;">{LANG_OPTIONS}</strong></th>
		  </tr>
	{LOOP: PROJECTS}
	<tr class="normal">
		<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="project.php?id={PROJECTS.id}">{PROJECTS.title}</a></td>	  
		<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{PROJECTS.status}</td>
		<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{PROJECTS.bids}</td>
		<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">
			<!--
			<select name="menu1" onChange="MM_jumpMenu('parent',this,0)" style="width:140px;">
				<option value="">{LANG_SELOPTIONS}</option>
				IF("{PROJECTS.bids}" != "0"){<option value="pick.php?id={PROJECTS.id}">{LANG_PICKPRO}</option>{:IF}
				<option value="extend.php?id={PROJECTS.id}">{LANG_EXTEND}</option>
				<option value="edit.php?id={PROJECTS.id}">{LANG_EDIT}</option>
				<option value="close.php?id={PROJECTS.id}">{LANG_CLOSE}</option>
			</select>
			--><strong>
			IF("{PROJECTS.bids}" != "0"){
			<a href="pick.php?id={PROJECTS.id}">{LANG_PICKPRO}</a>
			{:IF}
				<a href="extend.php?id={PROJECTS.id}">{LANG_EXTEND}</a>
				<a href="edit.php?id={PROJECTS.id}">{LANG_EDIT}</a>
				<a href="close.php?id={PROJECTS.id}">{LANG_CLOSE}</a> </strong>
		</td>
	</tr>	
	{/LOOP: PROJECTS}
		</table>
	<br>
	<span class="title2">{LANG_PASTPROJ}</span><br>
	<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
		  <tr >
			<th width="40%" height="30" nowrap="nowrap">
				{LANG_PROJNAME}
			</th>
			<th width="10%" height="30" nowrap="nowrap">
				{LANG_PROJWINNER}
			</th>
			<th width="10%" height="30" nowrap="nowrap">{LANG_BIDPRICE}</th>
			<th height="35%" nowrap="nowrap">{LANG_OPTIONS}</th>
			<th width="5%" height="30" nowrap="nowrap"><img src="templates/{TPL_NAME}/images/feedback_on.gif" width="14" height="15"></th>
		  </tr>
	{LOOP: RATE}
	<tr class="normal">
		<td height="30" bgcolor="#F3F3F3" style="padding-top:4px;padding-left:5px;">
			<a href="project.php?id={RATE.project_id}">{RATE.project_title}</a>
		</td>
		<td height="30" bgcolor="#F3F3F3" style="padding-top:4px;padding-left:5px;">
			<a href="profile.php?id={RATE.provider_id}&type=provider">{RATE.username}</a>
		</td>
		<td height="30" bgcolor="#F3F3F3" style="padding-top:4px;padding-left:5px;">
			{CURRENCY_SIGN}{RATE.winbid}	
		</td>
		<td height="30" bgcolor="#F3F3F3" style="padding-top:4px;padding-left:5px;">
			<select name="menu1" onChange="MM_jumpMenu('parent',this,0)" style="width:140px;">
				<option value="">Select Option</option>
				IF("{RATE.paid}"=="1"){
					<option value="rate.php?id={RATE.project_id}">
						{LANG_LEAVEFEEDBACK}
					</option>
				{:IF}
				IF("{RATE.paid}"=="0"){
					<option value="transfer.php">
						{LANG_PAYPROJECT}		
					</option>{:IF}
			</select>
		</td>
		
			<td bgcolor="#F3F3F3" height="30" style="padding-left:5px;">
			IF("{RATE.paid}"=="1"){<a href="rate.php?id={RATE.project_id}"><img src="templates/{TPL_NAME}/images/feedback_off.gif" width="14" height="15" border="0"></a>{:IF}
			IF("{RATE.paid}"=="2"){<a href="reviews.php?id={RATE.provider_id}&type=provider"><img src="templates/{TPL_NAME}/images/feedback_on.gif" width="14" height="15" border="0" alt=""></a>{:IF}
			</td>
		</tr>
	 <!-- 
	<tr height="1">
	  <td colspan="IF("{PAY_TYPE}"=="1"){11{:IF}IF("{PAY_TYPE}"=="0"){9{:IF}" height="1" bgcolor="#C7C7C7"></td>
	</tr> -->
	{/LOOP: RATE}
	  </table>
	<br>
	<span class="title2">Pending Escrow Payments</span><br>
	<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
            <tr >
				<th width="200" height="30" nowrap="nowrap"">
					<strong style="color:#666666;">{LANG_PROVIDERU}</strong>
				</th>
			    <th width="150" height="30" nowrap="nowrap">
					<strong style="color:#666666;">{LANG_AMOUNT}</strong>
				</th>
			  <th height="30" nowrap="nowrap"><strong style="color:#666666;">{LANG_OPTIONS}</strong></th>
            </tr>
  {LOOP: ESCROW}
  <tr class="normal">
    <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{ESCROW.from_nick}</td>
	
	<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{CURRENCY_SIGN}{ESCROW.amount}</td>

	<td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">
    IF("{ESCROW.from}"=="pro"){<a href="escrow.php?cancel={ESCROW.id}">Cancel</a>{:IF}
    IF("{ESCROW.from}"=="buy"){<a href="escrow.php?approve={ESCROW.id}">Approve</a>{:IF}
    </td>
  </tr>
  {/LOOP: ESCROW}
    </table>
          
</div>
<div style="clear:both;"></div>
<br />
{OVERALL_FOOTER}